#include<bits/stdc++.h>
using namespace std;
inline int read(){
    int x=0,f=1;
    char ch=getchar();
    while(ch<'0'||ch>'9'){
        if(ch=='-')f=-1;
        ch=getchar();
    }
    while(ch>='0'&&ch<='9'){
        x=x*10+ch-'0';
        ch=getchar();
    }
    x=x*f;
    return x;
}
void write(int x){
    if(x<0){
        x=-x;
        putchar('-');
    }
    if(x>9)write(x/10);
    putchar(x%10+'0');
}
int a[100005];
int b[100005];
int main(){
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    int n=read();
    for(int i=1;i<=n;i++){
        a[i]=read();
    }
    sort(a+1,a+n+1);
    int tot=0;
    for(int i=1;i<=n;i++){
        if(a[i]!=a[i-1]){
            tot++;
            b[tot]++;
        }else{
            b[tot]++;
        }
    }
    int ans=-1;
    for(int i=1;i<=tot;i++){
        ans=max(ans,b[i]);
    }
    write(ans);
    return 0;
}